package com.wyvoid.forum.dao;

import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.forum.domain.Stat;

/**
 * 日志模块数据处理接口
 * 
 * @author wyvoid
 * @link www.wyvoid.com
 */
public interface IStatDAO extends IHibernateDAO<Stat> {

	/**
	 * 查找全部的统计信息
	 * @param field 检索字段
	 * @param value 检索匹配的值
	 * @param pagination 分页对象
	 * @return QueryResult 日志集合
	 */
	public HibernatePage<Stat> findStats (String field, String value, Pagination pagination) ;

	
	/**
	 * 删除全部的统计
	 *
	 */
	public void deleteAllStat();
	
}
